﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PipeDetection.Model
{
    public class DefectOservations
    {
        public int Id { get; set; }
        [DisplayName("检测区域ID")]
        public int PipeSectionInspectionId { get; set; }
        [DisplayName("缺陷分类ID")]
        public int DefectCatalogId { get; set; }
        [DisplayName("缺陷名称")]
        public string DefectCatalogName { get; set; }
        [DisplayName("断面内的位置")]
        public Rpositon LocationInProfile { get; set; }
        [DisplayName("图形")]
        public List<Point> Geometry { get; set; }
        [DisplayName("缺陷宽度")]
        public float Width { get; set; }//计算
        [DisplayName("缺陷长度")]
        public float Length { get; set; }
        [DisplayName("面积")]
        public float Area { get; set; }
        [DisplayName("计米器读数")]
        public float Stationing { get; set; }
        [DisplayName("病害开始")]
        public float Start { get; set; }
        [DisplayName("病害结束")]
        public float End { get; set; }
        [DisplayName("病害等级")]
        public int Grade { get; set; }
        [DisplayName("得分")]
        public float Score { get; set; }
        [DisplayName("所在帧")]
        public int FpsInVideo { get; set; }

        [DisplayName("左界")]
        public List<Point> LeftLimit { get; set; }

        [DisplayName("右界")]
        public List<Point> RightLimit { get; set; }
        [DisplayName("圆点心")]
        public List<Point> LcR { get; set; }

    }
}
